package com.yznote.cloudesk.common.oss;

import lombok.Data;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:oss.properties")
@Data
public class OssConfig {
    @Value("${accessId}")
    private String accessId;
    @Value("${accessSecret}")
    private String accessSecret;
    @Value("${endPoint}")
    private String endPoint;
    @Value("${buketName}")
    private String buketName;
}
